Optimal. Leaf size=131 \[ \frac {x}{8 \left (2+3 x^4\right )}-\frac {3^{3/4} \tan ^{-1}\left (1-\sqrt [4]{6} x\right )}{32 \sqrt [4]{2}}+\frac {3^{3/4} \tan ^{-1}\left (1+\sqrt [4]{6} x\right )}{32 \sqrt [4]{2}}-\frac {3^{3/4} \log \left (\sqrt {6}-6^{3/4} x+3 x^2\right )}{64 \sqrt [4]{2}}+\frac {3^{3/4} \log \left (\sqrt {6}+6^{3/4} x+3 x^2\right )}{64 \sqrt [4]{2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 131, normalized size of antiderivative = 1.00, number of steps
used = 10, number of rules used = 7, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.778, Rules used = {205, 217, 1179,
642, 1176, 631, 210} \begin {gather*} -\frac {3^{3/4} \text {ArcTan}\left (1-\sqrt [4]{6} x\right )}{32 \sqrt [4]{2}}+\frac {3^{3/4} \text {ArcTan}\left (\sqrt [4]{6} x+1\right )}{32 \sqrt [4]{2}}+\frac {x}{8 \left (3 x^4+2\right )}-\frac {3^{3/4} \log \left (3 x^2-6^{3/4} x+\sqrt {6}\right )}{64 \sqrt [4]{2}}+\frac {3^{3/4} \log \left (3 x^2+6^{3/4} x+\sqrt {6}\right )}{64 \sqrt [4]{2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 205
Rule 210
Rule 217
Rule 631
Rule 642
Rule 1176
Rule 1179
Rubi steps
\begin {align*} \int \frac {1}{\left (2+3 x^4\right )^2} \, dx &=\frac {x}{8 \left (2+3 x^4\right )}+\frac {3}{8} \int \frac {1}{2+3 x^4} \, dx\\ &=\frac {x}{8 \left (2+3 x^4\right )}+\frac {3 \int \frac {\sqrt {2}-\sqrt {3} x^2}{2+3 x^4} \, dx}{16 \sqrt {2}}+\frac {3 \int \frac {\sqrt {2}+\sqrt {3} x^2}{2+3 x^4} \, dx}{16 \sqrt {2}}\\ &=\frac {x}{8 \left (2+3 x^4\right )}+\frac {1}{32} \sqrt {\frac {3}{2}} \int \frac {1}{\sqrt {\frac {2}{3}}-\frac {2^{3/4} x}{\sqrt [4]{3}}+x^2} \, dx+\frac {1}{32} \sqrt {\frac {3}{2}} \int \frac {1}{\sqrt {\frac {2}{3}}+\frac {2^{3/4} x}{\sqrt [4]{3}}+x^2} \, dx-\frac {3^{3/4} \int \frac {\frac {2^{3/4}}{\sqrt [4]{3}}+2 x}{-\sqrt {\frac {2}{3}}-\frac {2^{3/4} x}{\sqrt [4]{3}}-x^2} \, dx}{64 \sqrt [4]{2}}-\frac {3^{3/4} \int \frac {\frac {2^{3/4}}{\sqrt [4]{3}}-2 x}{-\sqrt {\frac {2}{3}}+\frac {2^{3/4} x}{\sqrt [4]{3}}-x^2} \, dx}{64 \sqrt [4]{2}}\\ &=\frac {x}{8 \left (2+3 x^4\right )}-\frac {3^{3/4} \log \left (\sqrt {6}-6^{3/4} x+3 x^2\right )}{64 \sqrt [4]{2}}+\frac {3^{3/4} \log \left (\sqrt {6}+6^{3/4} x+3 x^2\right )}{64 \sqrt [4]{2}}+\frac {3^{3/4} \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1-\sqrt [4]{6} x\right )}{32 \sqrt [4]{2}}-\frac {3^{3/4} \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1+\sqrt [4]{6} x\right )}{32 \sqrt [4]{2}}\\ &=\frac {x}{8 \left (2+3 x^4\right )}-\frac {3^{3/4} \tan ^{-1}\left (1-\sqrt [4]{6} x\right )}{32 \sqrt [4]{2}}+\frac {3^{3/4} \tan ^{-1}\left (1+\sqrt [4]{6} x\right )}{32 \sqrt [4]{2}}-\frac {3^{3/4} \log \left (\sqrt {6}-6^{3/4} x+3 x^2\right )}{64 \sqrt [4]{2}}+\frac {3^{3/4} \log \left (\sqrt {6}+6^{3/4} x+3 x^2\right )}{64 \sqrt [4]{2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 105, normalized size = 0.80 \begin {gather*} \frac {1}{128} \left (\frac {16 x}{2+3 x^4}-2\ 6^{3/4} \tan ^{-1}\left (1-\sqrt [4]{6} x\right )+2\ 6^{3/4} \tan ^{-1}\left (1+\sqrt [4]{6} x\right )-6^{3/4} \log \left (2-2 \sqrt [4]{6} x+\sqrt {6} x^2\right )+6^{3/4} \log \left (2+2 \sqrt [4]{6} x+\sqrt {6} x^2\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.14, size = 106, normalized size = 0.81
method | result | size |
risch | \(\frac {x}{24 x^{4}+16}+\frac {\left (\munderset {\textit {\_R} =\RootOf \left (3 \textit {\_Z}^{4}+2\right )}{\sum }\frac {\ln \left (x -\textit {\_R} \right )}{\textit {\_R}^{3}}\right )}{32}\) | \(35\) |
default | \(\frac {x}{24 x^{4}+16}+\frac {\sqrt {3}\, 6^{\frac {1}{4}} \sqrt {2}\, \left (\ln \left (\frac {x^{2}+\frac {\sqrt {3}\, 6^{\frac {1}{4}} x \sqrt {2}}{3}+\frac {\sqrt {6}}{3}}{x^{2}-\frac {\sqrt {3}\, 6^{\frac {1}{4}} x \sqrt {2}}{3}+\frac {\sqrt {6}}{3}}\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {3}\, 6^{\frac {3}{4}} x}{6}+1\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {3}\, 6^{\frac {3}{4}} x}{6}-1\right )\right )}{128}\) | \(106\) |
meijerg | \(\frac {24^{\frac {3}{4}} \left (\frac {2 \,24^{\frac {1}{4}} x}{6 x^{4}+4}-\frac {3 x \sqrt {2}\, \ln \left (1-6^{\frac {1}{4}} \left (x^{4}\right )^{\frac {1}{4}}+\frac {\sqrt {3}\, \sqrt {2}\, \sqrt {x^{4}}}{2}\right )}{8 \left (x^{4}\right )^{\frac {1}{4}}}+\frac {3 x \sqrt {2}\, \arctan \left (\frac {3^{\frac {1}{4}} 8^{\frac {3}{4}} \left (x^{4}\right )^{\frac {1}{4}}}{8-3^{\frac {1}{4}} 8^{\frac {3}{4}} \left (x^{4}\right )^{\frac {1}{4}}}\right )}{4 \left (x^{4}\right )^{\frac {1}{4}}}+\frac {3 x \sqrt {2}\, \ln \left (1+6^{\frac {1}{4}} \left (x^{4}\right )^{\frac {1}{4}}+\frac {\sqrt {3}\, \sqrt {2}\, \sqrt {x^{4}}}{2}\right )}{8 \left (x^{4}\right )^{\frac {1}{4}}}+\frac {3 x \sqrt {2}\, \arctan \left (\frac {3^{\frac {1}{4}} 8^{\frac {3}{4}} \left (x^{4}\right )^{\frac {1}{4}}}{8+3^{\frac {1}{4}} 8^{\frac {3}{4}} \left (x^{4}\right )^{\frac {1}{4}}}\right )}{4 \left (x^{4}\right )^{\frac {1}{4}}}\right )}{192}\) | \(179\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.50, size = 133, normalized size = 1.02 \begin {gather*} \frac {1}{64} \cdot 3^{\frac {3}{4}} 2^{\frac {3}{4}} \arctan \left (\frac {1}{6} \cdot 3^{\frac {3}{4}} 2^{\frac {1}{4}} {\left (2 \, \sqrt {3} x + 3^{\frac {1}{4}} 2^{\frac {3}{4}}\right )}\right ) + \frac {1}{64} \cdot 3^{\frac {3}{4}} 2^{\frac {3}{4}} \arctan \left (\frac {1}{6} \cdot 3^{\frac {3}{4}} 2^{\frac {1}{4}} {\left (2 \, \sqrt {3} x - 3^{\frac {1}{4}} 2^{\frac {3}{4}}\right )}\right ) + \frac {1}{128} \cdot 3^{\frac {3}{4}} 2^{\frac {3}{4}} \log \left (\sqrt {3} x^{2} + 3^{\frac {1}{4}} 2^{\frac {3}{4}} x + \sqrt {2}\right ) - \frac {1}{128} \cdot 3^{\frac {3}{4}} 2^{\frac {3}{4}} \log \left (\sqrt {3} x^{2} - 3^{\frac {1}{4}} 2^{\frac {3}{4}} x + \sqrt {2}\right ) + \frac {x}{8 \, {\left (3 \, x^{4} + 2\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 250 vs.
\(2 (92) = 184\).
time = 0.38, size = 250, normalized size = 1.91 \begin {gather*} -\frac {4 \cdot 27^{\frac {1}{4}} 8^{\frac {3}{4}} \sqrt {2} {\left (3 \, x^{4} + 2\right )} \arctan \left (\frac {1}{108} \cdot 27^{\frac {3}{4}} 8^{\frac {1}{4}} \sqrt {3} \sqrt {2} \sqrt {27^{\frac {1}{4}} 8^{\frac {3}{4}} \sqrt {2} x + 12 \, x^{2} + 4 \, \sqrt {3} \sqrt {2}} - \frac {1}{18} \cdot 27^{\frac {3}{4}} 8^{\frac {1}{4}} \sqrt {2} x - 1\right ) + 4 \cdot 27^{\frac {1}{4}} 8^{\frac {3}{4}} \sqrt {2} {\left (3 \, x^{4} + 2\right )} \arctan \left (-\frac {1}{18} \cdot 27^{\frac {3}{4}} 8^{\frac {1}{4}} \sqrt {2} x + \frac {1}{216} \cdot 27^{\frac {3}{4}} 8^{\frac {1}{4}} \sqrt {2} \sqrt {-12 \cdot 27^{\frac {1}{4}} 8^{\frac {3}{4}} \sqrt {2} x + 144 \, x^{2} + 48 \, \sqrt {3} \sqrt {2}} + 1\right ) - 27^{\frac {1}{4}} 8^{\frac {3}{4}} \sqrt {2} {\left (3 \, x^{4} + 2\right )} \log \left (12 \cdot 27^{\frac {1}{4}} 8^{\frac {3}{4}} \sqrt {2} x + 144 \, x^{2} + 48 \, \sqrt {3} \sqrt {2}\right ) + 27^{\frac {1}{4}} 8^{\frac {3}{4}} \sqrt {2} {\left (3 \, x^{4} + 2\right )} \log \left (-12 \cdot 27^{\frac {1}{4}} 8^{\frac {3}{4}} \sqrt {2} x + 144 \, x^{2} + 48 \, \sqrt {3} \sqrt {2}\right ) - 64 \, x}{512 \, {\left (3 \, x^{4} + 2\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.19, size = 95, normalized size = 0.73 \begin {gather*} \frac {x}{24 x^{4} + 16} - \frac {6^{\frac {3}{4}} \log {\left (x^{2} - \frac {6^{\frac {3}{4}} x}{3} + \frac {\sqrt {6}}{3} \right )}}{128} + \frac {6^{\frac {3}{4}} \log {\left (x^{2} + \frac {6^{\frac {3}{4}} x}{3} + \frac {\sqrt {6}}{3} \right )}}{128} + \frac {6^{\frac {3}{4}} \operatorname {atan}{\left (\sqrt [4]{6} x - 1 \right )}}{64} + \frac {6^{\frac {3}{4}} \operatorname {atan}{\left (\sqrt [4]{6} x + 1 \right )}}{64} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.45, size = 107, normalized size = 0.82 \begin {gather*} \frac {1}{64} \cdot 6^{\frac {3}{4}} \arctan \left (\frac {3}{4} \, \sqrt {2} \left (\frac {2}{3}\right )^{\frac {3}{4}} {\left (2 \, x + \sqrt {2} \left (\frac {2}{3}\right )^{\frac {1}{4}}\right )}\right ) + \frac {1}{64} \cdot 6^{\frac {3}{4}} \arctan \left (\frac {3}{4} \, \sqrt {2} \left (\frac {2}{3}\right )^{\frac {3}{4}} {\left (2 \, x - \sqrt {2} \left (\frac {2}{3}\right )^{\frac {1}{4}}\right )}\right ) + \frac {1}{128} \cdot 6^{\frac {3}{4}} \log \left (x^{2} + \sqrt {2} \left (\frac {2}{3}\right )^{\frac {1}{4}} x + \sqrt {\frac {2}{3}}\right ) - \frac {1}{128} \cdot 6^{\frac {3}{4}} \log \left (x^{2} - \sqrt {2} \left (\frac {2}{3}\right )^{\frac {1}{4}} x + \sqrt {\frac {2}{3}}\right ) + \frac {x}{8 \, {\left (3 \, x^{4} + 2\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.06, size = 44, normalized size = 0.34 \begin {gather*} \frac {x}{24\,\left (x^4+\frac {2}{3}\right )}+6^{3/4}\,\mathrm {atan}\left (6^{1/4}\,x\,\left (\frac {1}{2}-\frac {1}{2}{}\mathrm {i}\right )\right )\,\left (\frac {1}{64}+\frac {1}{64}{}\mathrm {i}\right )+6^{3/4}\,\mathrm {atan}\left (6^{1/4}\,x\,\left (\frac {1}{2}+\frac {1}{2}{}\mathrm {i}\right )\right )\,\left (\frac {1}{64}-\frac {1}{64}{}\mathrm {i}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________